import request from "@/utils/request.js";
import qs from 'qs'

export default {
    // 新增知识库
    addKnowledge: (data) => {
        return request.post('/knowledge/knowledge/save', data)
    },
    list: (data, page) => {
        return request.post(`/knowledge/knowledge/list?${qs.stringify(page)}`, data)
    }
}